#include "Domain.h"
#include <iostream>

int main()
{
    vector<double> p0 = {0, 0};
    vector<double> p1 = {0, 2};
    vector<double> p2 = {2, 2};
    vector<double> p3 = {2, 0};
    Point<2> P0(p0);
    Point<2> P1(p1);
    Point<2> P2(p2);
    Point<2> P3(p3);
    vector<Point<2>> d = {P0, P1, P2, P3};
    Rectangle2D D(d);
    for(int i = 0; i < 4 ;i++)
        cout << D.getVertex(i) << endl;
    return 0;
}
